package com.strato.rule.jdbc.v1_0_0.dao.mapper;

import com.strato.orm.mybatis.v1_0_0.annotation.MybatisMapper;
import com.strato.rule.jdbc.v1_0_0.model.RuleSet;
import com.strato.rule.jdbc.v1_0_0.model.RuleSetExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;
@MybatisMapper
public interface RuleSetMapper {
    int countByExample(RuleSetExample example);

    int deleteByExample(RuleSetExample example);

    int deleteByPrimaryKey(String ruleSetId);

    int insert(RuleSet record);

    int insertSelective(RuleSet record);

    List<RuleSet> selectByExampleWithBLOBs(RuleSetExample example);

    List<RuleSet> selectByExample(RuleSetExample example);

    RuleSet selectByPrimaryKey(String ruleSetId);

    int updateByExampleSelective(@Param("record") RuleSet record, @Param("example") RuleSetExample example);

    int updateByExampleWithBLOBs(@Param("record") RuleSet record, @Param("example") RuleSetExample example);

    int updateByExample(@Param("record") RuleSet record, @Param("example") RuleSetExample example);

    int updateByPrimaryKeySelective(RuleSet record);

    int updateByPrimaryKeyWithBLOBs(RuleSet record);

    int updateByPrimaryKey(RuleSet record);
}